package net.oschina.git.hikoyan.helloapi.common;

/**
 * Created by yan on 17/2/14.
 */
public class Config {

    private int postThreadPoolNums = Runtime.getRuntime().availableProcessors();
    // 发送消息对应的线程池阻塞队列size
    private int sendThreadPoolQueueCapacity = 2000;

    public int getPostThreadPoolNums() {
        return postThreadPoolNums;
    }

    public void setPostThreadPoolNums(int postThreadPoolNums) {
        this.postThreadPoolNums = postThreadPoolNums;
    }

    public int getSendThreadPoolQueueCapacity() {
        return sendThreadPoolQueueCapacity;
    }

    public void setSendThreadPoolQueueCapacity(int sendThreadPoolQueueCapacity) {
        this.sendThreadPoolQueueCapacity = sendThreadPoolQueueCapacity;
    }
}
